package com.ruoyi.system.mapper.front;

import com.ruoyi.system.domain.SafetyExaminationInfo;
import com.ruoyi.system.domain.front.*;

import java.util.List;

public interface SafetyExaminationFrontMapper {
    /** 查询考试基本信息在考状态 */
    public SafetyExaminationFrontInfo selectSafetyExaminationInfoDateList(SafetyExaminationInfo safetyExaminationInfo);
    /** 查询考试基本信息 */
    public SafetyExaminationFrontInfo selectSafetyExaminationInfoList(SafetyExaminationInfo safetyExaminationInfo);
    /** 查询学生考试题目*/
    public List<ExaminationFrontQuestionInfo> selectSafetyExaminationQuestionList(FrontUserInfo frontUserInfo);
    /** 查询学生考试题目(重考)*/
    public List<ExaminationFrontQuestionInfo> selectSafetyExaminationWrongQuestionList(FrontUserInfo frontUserInfo);
    /** 查询学生考试统计*/
    public ExaminationFrontContent selectExaminationFrontContent(FrontUserInfo frontUserInfo);

    /** 查询下一个保存信息*/
    public String selectQuestionSaveId(FrontUserInfo frontUserInfo);

    /** 查询下一个保存信息(重考)*/
    public String selectQuestionSaveWrongId(FrontUserInfo frontUserInfo);

    /** 重考情况下删除正确的题目*/
    public int deleteStudentWrongId(FrontUserInfo frontUserInfo);

    /** 查询题目顺序*/
    public List<String> selectQuestionSoft(FrontUserInfo frontUserInfo);

    /** 查询题目顺序(重考)*/
    public List<String> selectQuestionWrongSoft(FrontUserInfo frontUserInfo);

    /** 查询题目顺序(重考)*/
    public int selectExaminationFrontWrongfalse(FrontUserInfo frontUserInfo);

    /** 查询正确题目*/
    public Long selectQuestionTrueAmount(FrontUserInfo frontUserInfo);

    /** 查询正确题目*/
    public Long selectQuestionTrueAmountWrong(FrontUserInfo frontUserInfo);

    /** 查询考试奖品信息*/
    public List<ExaminationFrontPrize> selectExaminationFrontPrize(FrontUserInfo frontUserInfo);

    /** 查询考试记录信息*/
    public ExaminationFrontResult selectExaminationFrontResult(FrontUserInfo frontUserInfo);




}
